/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Skyflow from "../../../index"; export declare namespace Query { interface Options { environment?: core.Supplier; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier; token: core.Supplier; fetcher?: core.FetchFunction; } interface RequestOptions { /** The maximum time to wait for a response in seconds. */ timeoutInSeconds?: number; /** The number of times to retry the request. Defaults to 2. */ maxRetries?: number; /** A hook to abort the request. */ abortSignal?: AbortSignal; /** Additional headers to include in the request. */ headers?: Record; } } export declare class Query { protected readonly _options: Query.Options; constructor(_options: Query.Options); /** * Returns records for a valid SQL query. This endpoint
  • Can return redacted record values.
  • Supports only the SELECT command.
  • Returns a maximum of 25 records. To return additional records, perform another query using the OFFSET keyword.
  • Can't modify the vault or perform transactions.
  • Can't return tokens.
  • Can't return file download or render URLs.
  • Doesn't support the WHERE keyword with columns using transient tokenization.
  • Doesn't support `?` conditional for columns with column-level encryption disabled.
    • * * @param {string} vaultId - ID of the vault. * @param {Skyflow.QueryServiceExecuteQueryBody} request * @param {Query.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Skyflow.NotFoundError} * * @example * await client.query.queryServiceExecuteQuery("vaultID", { * query: "select * from opportunities where id=\"01010000ade21cded569d43944544ec6\"" * }) */ queryServiceExecuteQuery(vaultId: string, request?: Skyflow.QueryServiceExecuteQueryBody, requestOptions?: Query.RequestOptions): core.HttpResponsePromise; private __queryServiceExecuteQuery; protected _getAuthorizationHeader(): Promise; }